package com.hotel.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhy
 * @since 2024-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_cashBack_Log")
public class UserCashbackLog implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     * 返现id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 返现金额，是实际支付房价的10%
     */
    private double amount;

    /**
     * 返现订单
     */
    private String no;

    /**
     * 状态;失败为0，成功为1
     */
    private Integer status;

    /**
     * 返现时间
     */
    private Date ctime;


}
